package com.beibojd.dao;

import com.beibojd.pojo.Customer;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @Author: 洪耀荣
 * @Date: 2021-06-23 18:00:52
 */
public interface CustomerMapper extends Mapper<Customer> {
    @Select("select * from `customer` where customername = #{customername}")
    List<Customer> selectOneByName(String customername);
}
